<form id="form" action="{:url('engineer/edit')}">
<input type="hidden" name="id" value="{$info.id}"/>
<table class="formtable"> 
    <tr><th>绑定UID:</th>
        <td>
            <input readonly="readonly" id="uid" class="readonly input w100" type="text" name="uid" value="{$info.uid}" />
            <button url="{:url('system/passport.user/selectUser',['input' => 'uid'])}" type="button" class="selectid button"><i class="iconfont icon-my_icon"></i>选择用户</button>
            {if $info.uid}
            <button url="{:url('system/passport.user/review',['uid' => $info.uid])}" type="button" class="selectid button button-blue"><i class="iconfont icon-search_icon"></i>预览</button>
            {/if}
        </td>
    </tr>
    <tr>
        <th>等级:</th>
        <td>
            <select class="select w100" datatype="*" name="level" class="select">
                <option value="1" {if $info.level == 1}selected{/if}>初级</option>
                <option value="2" {if $info.level == 2}selected{/if}>中级</option>
                <option value="3" {if $info.level == 3}selected{/if}>高级</option>
            </select>
        </td>
    </tr>
    <tr><th>姓名:</th><td><input class="input w100" datatype="*" type="text" name="title" value="{$info.title}" /></td></tr>
    <tr><th>职位:</th><td><input class="input w100" datatype="*" type="text" name="occupation" value="{$info.occupation}"/></td></tr>
    <tr><th>特长:</th><td><input class="input w300" datatype="*" type="text" name="about" value="{$info.about}"/></td></tr>
    <tr>
        <th></th>
        <td>
            <input type="submit" value="确定" class="button button-blue submit" />
            <input type="reset" value="重置" class="button button-blank"/>
        </td>
    </tr>
</table>
</form>
<script type="text/javascript">
Do('base','layer','form',function(){
    $('#form').isForm({iframe:1});
    $(".selectid").win();
})
</script>